import axios from "axios"
import io from 'socket.io-client';

// 插件
export default {
  install(Vue) {
    // 设置axios请求根路径
    axios.defaults.baseURL = "http://10.36.137.14:10000"

    // 将axios放到Vue原型上
    Vue.prototype.$axios = axios


    Vue.prototype.$socket = io('http://localhost:10000')
  }
}